﻿using System;
using System.Web;

namespace Web.App.Infrastructure.Interface.Contracts
{
    public interface ICookieFactory
    {
        HttpCookie CreateAuthenticationCookie(string userName, bool isPersistantCookie, string cookiePath);
        HttpCookie CreateAuthenticationCookie(string userName, bool isPersistantCookie);
        HttpCookie CreateCookie(string key, string value, string path);
        HttpCookie CreateCookie(string key, string value, DateTime expiresAt);
    }
}
